<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en">
<head>
<title>典型案例添加</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description"
	content="A short description of this page." />
<link href="#{facesContext.externalContext.requestContextPath}/css/public.css" rel="stylesheet" type="text/css"
	media="screen" />
<link href="#{facesContext.externalContext.requestContextPath}/css/main.css" rel="stylesheet" type="text/css"
	media="screen" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!-- rich:message style-->
<style type="text/css">
	.rich-message-label{
		color:red;
	}
</style>
</head>
<body style="background-color: #ffffff">
<h:form>
	<div id="right">
	<div id="msgid" class="error pt10p bcf c0 tal" style="display:">
		<a4j:outputPanel  id="msgPaneladd">
		<center>
			<h:outputText styleClass="cff" value="#{QualifyforBB.msg}" />
		</center>
	</a4j:outputPanel>
	</div>
	<div class="tablelist">
	<table width="100%" border="1" cellpadding="0" cellspacing="0"
		bordercolor="#c3c3c3" style="border-collapse: collapse">
		<tr>
			
			<td>
			<h:inputHidden value="#{QualifyforBB.examinebank.tp_e_id}" />
			案例技能组<h:selectOneMenu class="style_input"  value="#{QualifyforBB.typicalcase.tp_userkind}">
				<f:selectItem />
	 			<f:selectItems value="#{paramBB.selectItems_param}" />
			</h:selectOneMenu></td>
			<td><span class="cff">*</span>错误类型<h:selectOneMenu class="style_input"  value="#{QualifyforBB.typicalcase.tp_err_kind}" required="true">
	 			<f:selectItems  value="#{paramBB.selectItem['tp_err_kind']}"  />
			</h:selectOneMenu></td>
		</tr>
		<tr>
			<td colspan="2"><span class="cff">*</span>案例描述 <label>
			<h:inputTextarea id="tp_err_desc" value="#{QualifyforBB.typicalcase.tp_err_desc}" class="style_textarea" 
			required="true" /> </label></td>
		</tr>
		<tr>
			<td colspan="2"><rich:message for="tp_err_desc" showSummary="true" showDetail="false" /></td>
		</tr>
		<tr>
			<td colspan="2"><span class="cff">*</span>案例分析 <label> <h:inputTextarea id="tp_scenedesc"
				value="#{QualifyforBB.typicalcase.tp_scenedesc}" class="style_textarea" required="true"/> </label></td>
		</tr>
		<tr>
			<td colspan="2"><rich:message for="tp_scenedesc" showSummary="true" showDetail="false" /></td>
		</tr>
	</table>
	</div>
	<div class="listbut" >
		<h:commandButton styleClass="buttonbg" value="保存" action="#{QualifyforBB.addTypicalcase}" reRender="msgPaneladd">
		</h:commandButton> 
		<h:commandButton styleClass="buttonbg" value="返回" action="#{QualifyforBB.toBackQuestList}" >
		</h:commandButton>
    </div>
	</div>
</h:form>
</body>
</html>

